<template>
  <footer class="front-footer">
    <div class="bg-decoration">
      <div class="circle circle-1"></div>
      <div class="circle circle-2"></div>
    </div>
    <div class="footer-content">
      <div class="footer-main">
        <div class="footer-section about-section">
          <div class="footer-logo">
            <img src="@/assets/imgs/logo.png" alt="百货商城" class="footer-logo-img" />
     
          </div>
          <div class="footer-info">
            <p class="footer-slogan">
              撷取自然馈赠 • 臻选品质生活
            </p>
            <div class="footer-divider">•</div>
            <div class="footer-contact">
              <div class="contact-item">
                <i class="el-icon-phone"></i>
                <span>客服专线 400-123-4567</span>
              </div>
              <div class="contact-divider">|</div>
              <div class="contact-item">
                <i class="el-icon-message"></i>
                <span>服务邮箱 service@greenfarm.com</span>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="footer-bottom">
        <p>© 2025 百货商城 · 百货俱全 乐享生活</p>
      </div>
    </div>
  </footer>
</template>

<script>
export default {
  name: 'FrontFooter'
}
</script>

<style scoped>
.front-footer {
  background: linear-gradient(135deg, #fffef5 0%, #fff8e5 100%);
  padding: 32px 0 16px;
  margin-top: 40px;
  position: relative;
  overflow: visible;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 -2px 12px rgba(255, 170, 0, 0.07);
}
.bg-decoration {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.04));
}
.circle-1 {
  width: 180px; height: 180px; top: -60px; left: -40px;
}
.circle-2 {
  width: 100px; height: 100px; bottom: -30px; right: 8%;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.footer-main {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.about-section {
  max-width: 600px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  gap: 10px;
}
.footer-logo-img {
  height: 32px;
  margin-right: 6px;
}
.footer-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #FF7F00;
  letter-spacing: 1px;
}
.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  white-space: nowrap;
}
.footer-slogan {
  color: #FFA500;
  line-height: 1.5;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}
.footer-divider,
.contact-divider {
  color: #dcdfe6;
  font-weight: 300;
}
.footer-contact {
  color: #606266;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  opacity: 0.9;
  white-space: nowrap;
}
.contact-item {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.contact-item:hover {
  color: #FF7F00;
}
.contact-item i {
  color: #FF7F00;
  margin-right: 6px;
  font-size: 15px;
}
.footer-bottom {
  text-align: center;
  color: #666;
  font-size: 14px;
  opacity: 0.9;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 165, 0, 0.09);
  border-radius: 0 0 24px 24px;
}
@media (max-width: 768px) {
  .front-footer {
    padding: 20px 0 10px;
    margin-top: 24px;
    border-radius: 0 0 18px 18px;
  }
  .footer-info {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  .footer-divider {
    display: inline;
  }
  .footer-contact {
    gap: 8px;
  }
  .footer-logo-img {
    height: 22px;
  }
  .footer-logo-text {
    font-size: 15px;
  }
}
</style>